package com.yuantu.judiciary.model.form;

import com.yuantu.judiciary.model.enums.InvoiceType;
import com.yuantu.judiciary.model.enums.OrganizationType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 添加开票表单
 *
 * @author syw
 * @since 2023-08-21
 **/
@Data
@ApiModel("添加开票表单")
public class AddInvoiceForm {

    @NotNull
    @ApiModelProperty("订单id")
    private Long orderId;

    @ApiModelProperty("发票类型")
    private InvoiceType type;

    @ApiModelProperty("开票信息")
    private OrganizationType orgType;

    @ApiModelProperty("企业名称")
    private String enterName;

    @ApiModelProperty("企业税号")
    private String taxNumber;

    @ApiModelProperty("企业地址")
    private String enterAddr;

    @ApiModelProperty("企业电话")
    private String enterPhone;

    @ApiModelProperty("开户银行")
    private String depositBank;

    @ApiModelProperty("银行账户")
    private String bankAccount;

    @ApiModelProperty("个人姓名")
    private String personName;

    @ApiModelProperty("收票人手机")
    private String personPhone;

    @ApiModelProperty("收票人邮箱")
    private String personEmail;


    @ApiModelProperty("接收人")
    private String receiver;

    @ApiModelProperty("接收人手机号")
    private String receiverPhone;

    @ApiModelProperty("接收地址")
    private String receiverAddr;

}
